package com.charactereducation.pitchpalace.service;

import com.charactereducation.module.vo.UserAccount;
import com.charactereducation.tools.myRunTime.MyRunTimeExcption;

/**
 * Created by Baggio on 2019-2-14.
 */
public interface UserAccountService {
    /**
     * 创建用户的账户
     * @param userId
     * @throws MyRunTimeExcption
     */
    void createUserAccount(Long userId) throws MyRunTimeExcption;

    /**
     * 更新用户的账户
     * @param userAccount
     * @param remark 备注
     * @param operateType  操作类型
     * @return
     * @throws MyRunTimeExcption
     */
    UserAccount modifyUserAccount(UserAccount userAccount, String remark, Byte operateType) throws MyRunTimeExcption;
}
